const Angular = require('angular');
import { selfProvide, selfFactory, selfService, selfConstant, selfValue } from '../../services/selfServices';
const app = Angular.module('selfServiceApp', [], function($provide){
    selfProvide($provide);
});
selfFactory(app);
selfService(app);
selfConstant(app);
selfValue(app);
app.controller('selfServiceCtrl', ['$scope', 'selfProvide', 'selfFactory','selfService','selfConstant', 'selfValue', function ($scope, selfProvide, selfFactory, selfService, selfConstant, selfValue) {
    console.log(selfProvide)
    console.log(selfFactory.str('hello selfFactory'));
    selfService.print('hello self service');
    console.log(selfConstant)
    console.log(selfValue);
    $scope.title = selfFactory.title;
}])
